/*
 * @(#)Email.java 2006-4-7
 *
 * This file is part of the Mocha BSM Application.
 *
 * Mocha is Copyright (C) 2004-2006 The MDCL-Frontline Inc. All rights reserved.
 * MDCL-Frontline PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 */
package com.hs.core.mail;

/**
 * @author liujiang liujiang@mdcl.com.cn
 * 
 */
public class Email {

	/**
	 * 
	 */
	private static final int DEFAULT_SMTP_PORT = 25;

	private String from = null;

	private String to = null;

	private String smtpHost = null;

	private int smtpPort = DEFAULT_SMTP_PORT;

	private String subject = null;

	private String message = null;
	
	private Object[] dataArr = null;
	
	private String messageStr = null;

	public String getMessageStr() {
		return messageStr;
	}

	public void setMessageStr(String messageStr) {
		this.messageStr = messageStr;
	}

	public Object[] getDataArr() {
		return dataArr;
	}

	public void setDataArr(Object[] dataArr) {
		this.dataArr = dataArr;
	}

	/**
	 * 
	 */
	public Email() {
		// TODO Auto-generated constructor stub
	}

	/**
	 * @return Returns the from.
	 */
	public final String getFrom() {
		return from;
	}

	/**
	 * @param from
	 *            The from to set.
	 */
	public final void setFrom(String from) {
		this.from = from;
	}

	/**
	 * @return Returns the message.
	 */
	public final String getMessage() {
		return message;
	}

	/**
	 * @param message
	 *            The message to set.
	 */
	public final void setMessage(String message) {
		this.message = message;
	}

	/**
	 * @return Returns the smtpHost.
	 */
	public final String getSmtpHost() {
		return smtpHost;
	}

	/**
	 * @param smtpHost
	 *            The smtpHost to set.
	 */
	public final void setSmtpHost(String smtpHost) {
		this.smtpHost = smtpHost;
	}

	/**
	 * @return Returns the smtpPort.
	 */
	public final int getSmtpPort() {
		return smtpPort;
	}

	/**
	 * @param smtpPort
	 *            The smtpPort to set.
	 */
	public final void setSmtpPort(int smtpPort) {
		this.smtpPort = smtpPort;
	}

	/**
	 * @return Returns the subject.
	 */
	public final String getSubject() {
		return subject;
	}

	/**
	 * @param subject
	 *            The subject to set.
	 */
	public final void setSubject(String subject) {
		this.subject = subject;
	}

	/**
	 * @return Returns the to.
	 */
	public final String getTo() {
		return to;
	}

	/**
	 * @param to
	 *            The to to set.
	 */
	public final void setTo(String to) {
		this.to = to;
	}

}
